from django.core.management.base import BaseCommand
from monitor.models import HealthCheck

class Command(BaseCommand):
	args = ''
	help = "health check for all groups"

	def handle(self, *args, **options):
		HealthCheck.objects.all()[0].check_all(batch=True)
